package raj.scr;

import java.awt.BorderLayout;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class SubmissionForm extends JFrame{
	private JTextField infoTab;
	private JLabel lForm;
	private JPanel submissionPanel;
	private  JButton bStudentRecord;
	public JButton getbStudentRecord() {
		return bStudentRecord;
	}


	public JButton getbCourseRecord() {
		return bCourseRecord;
	}


	public JButton getbRegisterRecord() {
		return bRegisterRecord;
	}


	private JButton bCourseRecord;
	private  JButton bRegisterRecord;
public SubmissionForm(){
	setFields();
	this.setContentPane(submissionPanel);
}


public JPanel getSubmissionPanel() {
	return submissionPanel;
}


public void setSubmissionPanel(JPanel submissionPanel) {
	this.submissionPanel = submissionPanel;
}


public void setFields(){
	submissionPanel=new JPanel();
 //   submissionPanel.setLayout(new GridLayout(4,1));
	lForm=new JLabel("   Data Submission Form");
	bStudentRecord=new JButton("Record Student");
	bCourseRecord=new JButton("Record Course");
	bRegisterRecord=new JButton("Register Course");
	submissionPanel.add(lForm);
	submissionPanel.add(bStudentRecord);
	submissionPanel.add(bCourseRecord);
	submissionPanel.add(bRegisterRecord);
	
	
}
}// class closer
